@import "@/assets/style/variables.scss";

$baseCls: profile-page;

.#{$baseCls} {
  color: $text-color;
  background-color: white;

  &-wrapper {
    position: relative;
    padding: 40px 16px;
    padding-bottom: calc($safe-area + $tab-bar-height);
  }

  &-user {
    display: flex;
    align-items: center;
    flex-direction: column;

    &-info {
      border-radius: 8px;
      background: url("https://tt642f1292fb1394a001-env-as0wwifwof.tos-cn-beijing.volces.com/envelope_background.png"),
        lightgray 0% 0% / 65.83333015441895px 65.83333015441895px repeat;
      border: 1px solid #1618231f;
      gap: 16px;
      flex: 1;
      height: 160px;
      padding: 24px 16px 24px 16px;
      display: flex;
      box-sizing: border-box;
      align-items: center;

      &-avatar {
        width: 72px;
        height: 72px;

        &-img {
          width: 100%;
          height: 100%;
          border: 1px solid var(--line-line-card-stroke, rgba(22, 24, 35, 0.08));
          background: #16182314;
          border-radius: 999px;
          margin-right: 8px;
        }
      }

      &-right {
        display: flex;
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
      }

      &-name {
        font-weight: 500;
        font-size: 17px;
        display: flex;
        align-items: center;
        gap: 8px;
        &-desc {
          font-size: 13px;
          font-weight: 400;
          opacity: 0.6;
        }
      }

      &-desc {
        margin-top: 4px;
        font-weight: 400;
        font-size: 15px;
        line-height: normal;
        color: $text-desc-color;
      }
    }

    &-select {
      margin-top: 20px;

      &-item {
        margin-top: 12px;
        display: flex;
        width: 345px;
        padding: 16px 12px 16px 16px;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
        border-radius: 8px;
        border: 1px solid rgba(22, 24, 35, 0.12);
        background: url("https://tt642f1292fb1394a001-env-as0wwifwof.tos-cn-beijing.volces.com/envelope_background.png"),
          lightgray 0% 0% / 65.83333015441895px 65.83333015441895px repeat;

        &-title {
          font-size: 17px;
          font-weight: 500;
        }

        &-icon {
          width: 22px;
          height: 22px;
        }
      }
    }
  }
}
